package Business;

import Main.StartMain;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Random;

/**
 * 文章输出流类
 */
public class Article {

    private static List<String> pictrue = new ArrayList<>();//添加支持格式
    private static List<String> music = new ArrayList<>();//添加支持格式
    private static List<String> video = new ArrayList<>();//添加支持格式
    private static SimpleDateFormat articleAllFormat = new SimpleDateFormat("yyyy年MM月dd日 HH时mm分ss秒");
    private static SimpleDateFormat articleNoSFormat = new SimpleDateFormat("yyyy年MM月dd日 HH:mm");
    private static SimpleDateFormat articleFormat = new SimpleDateFormat("yyyy年MM月dd日");
    private static String[] ChineseNum = {"零","一","两","三","四","五","六","七","八","九","十","十一","十二","十三","十四","十五","十六","十七","十八","十九","二十","二十一","二十二",
    "二十三","二十四","二十五","二十六","二十七","二十八","二十九","三十","三十一","三十二","三十三","三十四","三十五","三十六","三十七","三十八","三十九","四十","四十一","四十二",
    "四十三","四十四","四十五","四十六","四十七","四十八","四十九","五十","五十一","五十二","五十三","五十四","五十五","五十六","五十七","五十八","五十九","六十"};


    /**
     * 初始化
     */
    public static void init(){
        pictrue.add("jpg");
        pictrue.add("jpeg");
        pictrue.add("png");
        pictrue.add("gif");
        music.add("mp3");
        music.add("wav");
        video.add("mp4");
        video.add("bilibili");
    }

}
